package Heap;

public class Test {
    public static void main(String[] args) {
        int[] arr = new int[]{27,15,19,18,28,34,65,49,25,37};
        Heap heap = new Heap();

        heap.initArr(arr);

        //创建大根堆
        heap.createHeap();

        heap.sort();

    }
}
